package com.cloud.listener;

import com.cloud.constant.SystemConstant;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.JobListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TaskListener implements JobListener {
    private Logger logger = LoggerFactory.getLogger(TaskListener.class);

    @Override
    public String getName() {
        return SystemConstant.JOB_LISTENER;
    }

    @Override
    public void jobToBeExecuted(JobExecutionContext context) {
    }

    @Override
    public void jobExecutionVetoed(JobExecutionContext context) {
    }

    @Override
    public void jobWasExecuted(JobExecutionContext context, JobExecutionException e) {
    }
}
